package cc.linker.steplink.crm.commons.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * 内容库地址后缀
 */
public interface ContentConstant {
    /**
     * 通过文章id查文章详情
     */
    String GET_ARTICLE_DETAIL = "/mediaPool/list/getArticleDetail";
    /**
     * 通过文章id(多个)查文章
     */
    String GET_ARTICLE_LIST_BY_IDS = "/mediaPool/list/getArticleListByIds";
    /**
     * 通过用户查文章列表
     */
    String GET_ARTICLE_LIST = "/mediaPool/list/getArticleList";
    /**
     * steplinker文章数据筛选获取
     */
    String NEWS_BY_STEP = "/mediaPool/list/newsByStep";
    /**
     * 获取资源分类
     */
    String GET_RESOURCE_CLASSIFICATION = "/mediaPool/sys/getResourceClassification?resourceType=1";
    /**
     * 查询机构有无配置模板id
     */
    String PUBLIC_GET_TEMPLATE_ID_BY_ORG = "/public/getTemplateIdByOrg";
    /**
     * 内容库请求头
     */
    Map<String, String> HEADER = new HashMap<String, String>() {{
        put("Authorization", "bearer AT-9e4207df80df5b54a7e2e8ef6192d59f");
    }};
    Map<String, String> JSON_HEADER = new HashMap<String, String>() {{
        put("Content-Type", "application/json;charset=UTF-8");
        put("Authorization", "bearer AT-9e4207df80df5b54a7e2e8ef6192d59f");
    }};
}
